home *** CD-ROM | disk | FTP | other *** search
- Path: sage.cgd.ucar.edu!jadams
- From: jadams@sage.cgd.ucar.edu (James Adams)
- Newsgroups: comp.lang.c++
- Subject: How to do file I/O with <iostream.h>
- Date: 21 Feb 1996 01:37:33 GMT
- Organization: National Center for Atmospheric Research
- Distribution: world
- Message-ID: <4gdt0t$3oj@ncar.ucar.edu>
- Reply-To: jadams@sage.cgd.ucar.edu
- NNTP-Posting-Host: sage.cgd.ucar.edu
-
- Hello,
-
- I can't find any info on how to do file I/O (reads, writes, fopens,
- etc) with <iostream.h>. I am curious as to how I would read a certain number
- of bytes from an open file, how to write a certain number of bytes to an open
- file, etc. Basically I need an explanation of the ofstream and ifstream member
- functions. Please let me know if you know of a good reference for this
- (especially an online source).
-
- Thanks in advance for any suggestions !
-
-
- -James
- --
- ---------------------------------------------------------------------------
- James Adams Email: jadams@ucar.edu
- National Center for Atmospheric Research Phone: (303) 497-1356
- Boulder, Colorado Fax: (303) 497-1348
-
- WWW: http://www.cgd.ucar.edu/ccr/jadams/home.html
-